<?php

header("Access-Control-Allow-Credentials: true");
//header('Content-Type: application/json');


// Kimi
//$openaiApiKey = 'xxx'; 
//$url = 'https://api.moonshot.cn/v1/chat/completions';
//$model = 'moonshot-v1-8k';

//DeepSeek-Chat
//$openaiApiKey = 'xxx'; 
//$url = 'https://api.deepseek.com/v1/chat/completions';
//$model = 'deepseek-chat';

// 豆包
$openaiApiKey = 'xxx'; 
$url = 'https://ark.cn-beijing.volces.com/api/v3/chat/completions';
$model = 'doubao-1-5-pro-256k-250115';